<?PHP

$content_category=new content_category;
$content_category->get_category();

$headers[]='Id';
$headers[]='Name';
$headers[]='Type';
$headers[]='Status';
$headers[]='Parent';
$headers[]='Action';
$show[]='id';
$show[]='name';
$show[]='type';
$show[]='status';
$show[]='parent';
$ajax['Delete']='h/default_delete_ajax.php';

$links['Edit']='?q=m/content/d_content_category.php&cmd=edit&id=';
printformheader('Categories','Categories Depending on Type');

if(!empty($content_category->data))
{

	p_table($headers,$content_category->data,$links,"class='tablesorter'",$show,$ajax,FALSE);

} 
printformfooter("Add Category","?q=m/content/d_content_category.php&cmd=add",NULL,NULL,NULL,NULL);
?>